<template>
  <div class="header">
    <div class="main">
      <h5 class="logo">
        <img src="../assets/img/logo.png" alt="">
      </h5>
      <div class="menu">
        <ul>
          <li>
            <router-link to="/">文件上传</router-link>
          </li>
          <li>
            <router-link to="/friends">好友</router-link>
          </li>
          <li>
            <router-link to="/find">发现</router-link>
          </li>
          <li>4</li>
          <li>5</li>
        </ul>
      </div>
      <div class="user_area">
        用户名
      </div>
    </div>
  </div>
</template>

<script>
import { defineComponent } from "vue";
export default defineComponent({});
</script>
<style lang="scss" scoped>
.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 3;
  width: 100%;
  height: 60px;
  line-height: 60px;
  font-size: 16px;
  font-weight: bold;
  color: #F38BA0;
  background-color: #EDF6E5;
  box-shadow: 1px 1px 2px #ccc;
  .main {
    margin: auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    width: 1280px;

    .logo {
      height: 100%;
      img{
        height: 60px;
      }
    }

    ul {
      li {
        margin-left: 30px;
        float: left;
        a{
          display: block;
          text-shadow: 1px 1px 2px #fff;
          
        }
        .router-link-exact-active{
          color: #ffffff;
          text-shadow: 1px 1px 2px #F38BA0;
        }
      }
    }
  }
}
</style>